﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Article
{
    public  class Articles: FullAuditedEntity<long>
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 封面图
        /// </summary>
        public string Picture { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 文章类型
        /// </summary>

        public ArticlesType ArticleType { get; set; }

        public enum ArticlesType : int
        {
            /// <summary>
            /// 平台咨询
            /// </summary>
            [Description("平台咨询")]
            Counsel = 1,
            /// <summary>
            /// 帮助中心
            /// </summary>
            [Description("帮助中心")]
             Helpe = 2,

            /// <summary>
            /// 关于我们
            /// </summary>
            [Description("关于我们")]
            About = 3,

            /// <summary>
            /// 砍价
            /// </summary>
            [Description("砍价")]
            Bargain = 4,

            /// <summary>
            /// 团购
            /// </summary>
            [Description("团购")]
            Group = 5,
            /// <summary>
            /// 隐私政策
            /// </summary>
            [Description("隐私政策")]
            PrivacyPolicy = 6,
            /// <summary>
            /// 种树服务协议
            /// </summary>
            [Description("种树服务协议")]
            ServiceAgreement = 7,
            /// <summary>
            /// 种树啦用户协议
            /// </summary>
            [Description("种树用户协议")]
            UserAgreement = 8,
            /// <summary>
            /// 分红收益规则
            /// </summary>
            [Description("分红收益规则")]
            FHAgreement = 9,
            /// <summary>
            /// 分享收益规则
            /// </summary>
            [Description("分享收益规则")]
            FXAgreement = 10,
            /// <summary>
            /// 全民收益规则
            /// </summary>
            [Description("全民收益规则")]
            QMAgreement = 11,
            /// <summary>
            /// 活动规则
            /// </summary>
            [Description("活动规则")]
            ActiveAgreement = 12,
        }
    }
}
